Libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4?

Libgcc_s. So is having the dependency on URL1.6. This problem starts with glibc 2.4 version.

Libgcc_s. So is having the dependency on URL1.6. This problem starts with glibc 2.4 version. You should add -lc in the link line.

This question will give you more information. In Linux stubs are used for standard libraries. Why are stubs required?

Much better answer than mine! +1 – Conrad Meyer Feb 23 at 12:33 so where I should add -lc at the beginning or the end? – martin Feb 23 at 13:39 Add lc after lgcc_s in the link line.

– sunmoon Feb 23 at 16:48 I'm affraid that due to reason that installation scripts from Oracle are very complex, I don't know in which one I should put lc. I tried set LD_PRELOAD but it's not possible due to security, next I set LD_LIBRARY_PATH to /lib but it's not working. So I don't understand if linker can find libgcc_so.1 from /lib path why it can't find glibc inside the same directory?

– martin Feb 230 at 8:27.

The *UND* in 00000000 DF *UND* 00000000 GLIBC_2.4 __stack_chk_fail indicates that the section is referenced but not defined. So yes, you're missing the symbol.

Could you explain where It should be defined because when execute on failed so: objdump -T /lib/libgcc_s.so.1 |grep UND, I obtain much more, like: 00000000 DF UND 00000000 GLIBC_2.0 realloc – martin Feb 23 at 13:14 of course symbol __stack_chk_fail is undefined in libgcc_so.1 but it's defined inside libc.so.6 so I don't understand why the warning occur – martin Feb 24 at 21:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions